import axios from './axios'

// BIM模型列表(不分页)
export function getBimModelList(params) {
    const url = '/ms/api/bim/model/list'
    return axios.get(url , params)
}

// BIM模型ViewToken
export function getBimModelToken(params) {
    const url = '/ms/api/bim/model/token'
    return axios.get(url , params)
}
// 添加BIM模型
export function getBimModelAdd(params) {
    const url = '/ms/api/bim/model/add'
    return axios.post(url , params)
}
// 编辑BIM模型
export function getBimModelEdit(params) {
    const url = '/ms/api/bim/model/edit'
    return axios.post(url , params)
}
// 删除BIM模型
export function getBimModelDel(params) {
    const url = '/ms/api/bim/model/del/'
    return axios.post(url + params)
}
// BIM模型前端上传-授权信息
export function getBimModeUploadPolicy(params) {
    const url = '/ms/api/bim/model/upload/policy'
    return axios.get(url , params)
}
